// pages/personalcenter/personal.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    personalList: [
      {style:'width:40rpx;height:44rpx',src:'../../images/index/Group-order.png',name:'全部订单',message:'0'},
      {style:'width:44rpx;height:40rpx',src:'../../images/index/Group-paying.png',name:'待付款',message:'2'},
      {style:'width:44rpx;height:44rpx',src:'../../images/index/Groupcl.png',name:'处理中',message:'3'},
      {style:'width:48rpx;height:48rpx',src:'../../images/index/Group-cx.png',name:'待出行',message:'4'}
    ],
    personalEdit: [
      {src:'../../images/index/Group-edit.png',name:'设置'},
      {src:'../../images/index/Groupyjfk.png',name:'意见反馈'},
      {src:'../../images/index/Group-yszc.png',name:'隐私政策'},
      {src:'../../images/index/Group-gylb.png',name:'关于乐吧'}
    ]
  },
  orderMy(e) {
      wx.navigateTo({
        url: '/pages/myorder/myorder?id='+ e.currentTarget.dataset.index,
      })
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})